package com.wonderful.eyepetizer.app.ktx

import android.widget.Toast
import com.wonderful.eyepetizer.app.mApplication

/**
 * Desc:
 * @Author: wonderful
 * @Time: 2024/1/23 17:56
 */

fun String.showToast() {
    Toast.makeText(mApplication, this, Toast.LENGTH_SHORT).show()
}

fun String.showLongToast() {
    Toast.makeText(mApplication, this, Toast.LENGTH_LONG).show()
}

fun Int.showToast() {
    Toast.makeText(mApplication, this, Toast.LENGTH_SHORT).show()
}